
package org.zfes.snowier.cloud.zbss.pmp.model;
import org.zfes.snowier.common.dao.IBaseModel;
public class PmpTasks extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public PmpTasks() {}
	public PmpTasks(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	@javax.validation.constraints.NotNull(message="所属项目不能为空")
	  private java.lang.Long projectId;
	@javax.validation.constraints.NotNull(message="是否来自需求不能为空")
	  private java.lang.Byte fromRequire;
	@javax.validation.constraints.NotNull(message="所属需求不能为空")
	  private java.lang.Long requireId;
	@javax.validation.constraints.NotBlank(message="任务名称不能为空")
	@javax.validation.constraints.NotNull(message="任务名称不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="任务名称长度不能大于255")
	  private java.lang.String taskName;
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	 private java.lang.Long creatorUserId;
	@javax.validation.constraints.NotBlank(message="创建者不能为空")
	@javax.validation.constraints.NotNull(message="创建者不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="创建者长度不能大于255")
	 private java.lang.String creatorUserName;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="负责人长度不能大于255")
	  private java.lang.String chargeUserName;
	
	  private java.lang.Long chargeUserId;
	  private java.util.Date updatetime;
	  private java.util.Date createtime;
	  private java.util.Date expiryTime;
	@javax.validation.constraints.NotNull(message="评估时间不能为空")
	  private java.lang.Integer assignHours;
	@javax.validation.constraints.NotNull(message="投入时间不能为空")
	  private java.lang.Integer workHours;
	@javax.validation.constraints.NotNull(message="难度系数不能为空")
	  private java.lang.Long difficultyScoreId;
	@javax.validation.constraints.NotNull(message="难度系数不能为空")
	  private java.lang.Integer difficultyScore;
	private String difficultyScoreName;
	@javax.validation.constraints.NotNull(message="任务状态不能为空")
	  private java.lang.Byte status;
	@javax.validation.constraints.NotNull(message="任务进度不能为空")
	  private java.lang.Byte progress;
	@javax.validation.constraints.NotNull(message="任务状态不能为空")
	  private java.lang.Byte expired;
	@javax.validation.constraints.NotNull(message="所属版本不能为空")
	  private java.lang.Long projectVersionId;
	@javax.validation.constraints.NotBlank(message="版本名不能为空")
	@javax.validation.constraints.NotNull(message="版本名不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=20,message="版本名长度不能大于20")
	  private java.lang.String projectVersionName;
	@javax.validation.constraints.NotBlank(message="任务详情不能为空")	@javax.validation.constraints.NotNull(message="任务详情不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="任务详情长度不能大于2,147,483,647")
	  private java.lang.String taskDetail;
 
	  @javax.validation.constraints.NotNull(message="优先级不能为空")
	  private java.lang.Byte priority;
	  private String rejectResaon;
	//<-------------------------------------------->
	public PmpTasks setProjectId(java.lang.Long projectId){
	 this.projectId=projectId;
	 return this;
	}
	public java.lang.Long getProjectId(){
		return this.projectId;
	}
	public PmpTasks setFromRequire(java.lang.Byte fromRequire){
	 this.fromRequire=fromRequire;
	 return this;
	}
	public java.lang.Byte getFromRequire(){
		return this.fromRequire;
	}
	public PmpTasks setRequireId(java.lang.Long requireId){
	 this.requireId=requireId;
	 return this;
	}
	public java.lang.Long getRequireId(){
		return this.requireId;
	}
	public PmpTasks setTaskName(java.lang.String taskName){
		this.taskName=taskName==null?null:taskName.trim();
	 return this;
	}
	public java.lang.String getTaskName(){
		return this.taskName;
	}
	public PmpTasks setChargeUserName(java.lang.String chargeUserName){
		this.chargeUserName=chargeUserName==null?null:chargeUserName.trim();
	 return this;
	}
	public java.lang.String getChargeUserName(){
		return this.chargeUserName;
	}
	public PmpTasks setChargeUserId(java.lang.Long chargeUserId){
	 this.chargeUserId=chargeUserId;
	 return this;
	}
	public java.lang.Long getChargeUserId(){
		return this.chargeUserId;
	}
	public PmpTasks setUpdatetime(java.util.Date updatetime){
	 this.updatetime=updatetime;
	 return this;
	}
	public java.util.Date getUpdatetime(){
		return this.updatetime;
	}
	public PmpTasks setCreatetime(java.util.Date createtime){
	 this.createtime=createtime;
	 return this;
	}
	public java.util.Date getCreatetime(){
		return this.createtime;
	}
	public PmpTasks setExpiryTime(java.util.Date expiryTime){
	 this.expiryTime=expiryTime;
	 return this;
	}
	public java.util.Date getExpiryTime(){
		return this.expiryTime;
	}
	public PmpTasks setAssignHours(java.lang.Integer assignHours){
	 this.assignHours=assignHours;
	 return this;
	}
	public java.lang.Integer getAssignHours(){
		return this.assignHours;
	}
	public PmpTasks setWorkHours(java.lang.Integer workHours){
	 this.workHours=workHours;
	 return this;
	}
	public java.lang.Integer getWorkHours(){
		return this.workHours;
	}
	public PmpTasks setDifficultyScoreId(java.lang.Long difficultyScoreId){
	 this.difficultyScoreId=difficultyScoreId;
	 return this;
	}
	public java.lang.Long getDifficultyScoreId(){
		return this.difficultyScoreId;
	}
	public PmpTasks setDifficultyScore(java.lang.Integer difficultyScore){
	 this.difficultyScore=difficultyScore;
	 return this;
	}
	public java.lang.Integer getDifficultyScore(){
		return this.difficultyScore;
	}
	public PmpTasks setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public PmpTasks setProgress(java.lang.Byte progress){
	 this.progress=progress;
	 return this;
	}
	public java.lang.Byte getProgress(){
		return this.progress;
	}
	public PmpTasks setExpired(java.lang.Byte expired){
	 this.expired=expired;
	 return this;
	}
	public java.lang.Byte getExpired(){
		return this.expired;
	}
	public PmpTasks setProjectVersionId(java.lang.Long projectVersionId){
	 this.projectVersionId=projectVersionId;
	 return this;
	}
	public java.lang.Long getProjectVersionId(){
		return this.projectVersionId;
	}
	public PmpTasks setProjectVersionName(java.lang.String projectVersionName){
		this.projectVersionName=projectVersionName==null?null:projectVersionName.trim();
	 return this;
	}
	public java.lang.String getProjectVersionName(){
		return this.projectVersionName;
	}
	public PmpTasks setTaskDetail(java.lang.String taskDetail){
		this.taskDetail=taskDetail==null?null:taskDetail.trim();
	 return this;
	}
	public java.lang.String getTaskDetail(){
		return this.taskDetail;
	}
	public java.lang.Byte getPriority() {
		return priority;
	}
	public PmpTasks setPriority(java.lang.Byte priority) {
		this.priority = priority;
		 return this;
	}
	public java.lang.Long getCreatorUserId() {
		return creatorUserId;
	}
	public void setCreatorUserId(java.lang.Long creatorUserId) {
		this.creatorUserId = creatorUserId;
	}
	public java.lang.String getCreatorUserName() {
		return creatorUserName;
	}
	public void setCreatorUserName(java.lang.String creatorUserName) {
		this.creatorUserName = creatorUserName;
	}
	public String getDifficultyScoreName() {
		return difficultyScoreName;
	}
	public void setDifficultyScoreName(String difficultyScoreName) {
		this.difficultyScoreName = difficultyScoreName;
	}
	public String getRejectResaon() {
		return rejectResaon;
	}
	public void setRejectResaon(String rejectResaon) {
		this.rejectResaon = rejectResaon;
	}



}
